package com.losdun.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.losdun.common.annotation.Excel;
import com.losdun.common.core.domain.BaseEntity;

/**
 * banner对象 cms_banner
 * 
 * @author sword.ye
 * @date 2025-05-08
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 展示端 */
    @Excel(name = "展示端")
    private Integer displayType;

    /** 栏目类别 */
    @Excel(name = "栏目类别")
    private Integer cateType;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String introduce;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String url;

    /** 状态（0隐藏 1显示） */
    @Excel(name = "状态", readConverterExp = "0=隐藏,1=显示")
    private Integer status;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDisplayType(Integer displayType) 
    {
        this.displayType = displayType;
    }

    public Integer getDisplayType() 
    {
        return displayType;
    }
    public void setCateType(Integer cateType) 
    {
        this.cateType = cateType;
    }

    public Integer getCateType() 
    {
        return cateType;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("displayType", getDisplayType())
            .append("cateType", getCateType())
            .append("title", getTitle())
            .append("introduce", getIntroduce())
            .append("imageUrl", getImageUrl())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
